using System.Collections.Generic;
using CHEnhanceEfCore.Config.MQ.config;
using CHEnhanceEfCore.Config.Schedule.config;

namespace CHEnhanceEfCore.System
{
    public class AppSettings
    {
        public string RedisConfig { get; set; }
        public string MqEndpoint { get; set; }
        public string MqUserName { get; set; }
        public string MqPassword { get; set; }
        public List<QuartzJobConfig> jobConfigs { get; set; }
        public List<QueueConfig> queueConfigs { get; set; } = new();
        public List<ExchangeConfig> exchangeConfigs { get; set; } = new();
        public List<QueueBindConfig> queueBindConfigs { get; set; } = new();
        
        /// <summary>
        /// 密钥
        /// </summary>
        public string tokenSecret { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public int expireSeconds { get; set; }
    }
}